package com.example.app.moudle.home.adapter.vh

import com.example.app.moudle.home.HomeF
import com.example.app.moudle.home.adapter.vh.base.BaseHomePageAdapter
import com.example.app.moudle.home.entity.HomeTabEntity
import com.example.app.moudle.home.vm.HomeVM

/**
 * CreateBy:Joker
 * CreateTime:2024/1/8 20:01
 * description：
 */
class RecommendPageAdapter(homeF: HomeF) : BaseHomePageAdapter(homeF) {
    override fun onRefreshList() {
        HomeVM.getHomeList(homeF.viewLifecycleOwner, HomeTabEntity.TAB_RECOMMEND, true)
    }

    override fun onLoadMoreList() {
        HomeVM.getHomeList(homeF.viewLifecycleOwner, HomeTabEntity.TAB_RECOMMEND, false)
    }


}